package com.xiaoh.dormitoryrepairreportbackend.model.dto.skill;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 维修工技能添加请求
 */
@Data
@Schema(description = "维修工技能添加请求")
public class MaintenanceSkillAddRequest implements Serializable {

    @Schema(description = "维修工用户ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "维修工用户ID不能为空")
    private Long userId;

    @Schema(description = "维修类别ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "维修类别ID不能为空")
    private Integer categoryId;

    private static final long serialVersionUID = 1L;
}
